package com.ytsky.quotesystem;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@EnableTransactionManagement  //开启事务管理

@SpringBootApplication
@MapperScan(basePackages = {"com.ytsky.quotesystem.dao"})
public class QuoteSystemApplication {

    public static void main(String[] args) {
        SpringApplication.run(QuoteSystemApplication.class, args);
    }
}
